package com.example.ylgh.service;

import com.example.ylgh.model.hosp.Hospital;
import com.example.ylgh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author hx
 * @create 2022/5/11 10:00
 * description:
 */

public interface HospitalService {
    void save(Map<String, Object> map);

    Hospital getByHoscode(String hoscode);

    Page<Hospital> selectHosp(Integer limit, Integer page, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);


    Map<String, Object> getHospById(String id);

    String getHospName(String hoscode);

    List<Hospital> findByHosname(String hosname);

    Map<String, Object> item(String hoscode);
}
